package com.njwb.day09.exception;

import java.io.IOException;

public class Pet {
    public void eat() throws IOException {

    }
}


class Dog extends Pet {

    //
    public void eat()  {

    }
}

class Cat extends   Pet{

}